import {get} from './axios'
import {post} from './axios'
import {upload} from './axios'

export default {

    //获取新闻列表
    getNews(){
        return get('/')
    },

    //获取折线图数据

    getData(){
        let data={
            t:Date.now(),
            period:'all'
        }
        return get('/explorer/v1/eth/defi/history',data)
    }



}